home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Almathera Ten Pack 3: CDPD 3
/
Almathera Ten on Ten - Disc 3: CDPD3.iso
/
fish
/
676-700
/
676
/
fbm
/
fbm10man.zoo
/
MAN
/
fbclean.man
< prev
next >
Wrap
Text File
|
1990-12-18
|
3KB
|
133 lines
FBCLEAN(1) 25-Jun-90 FBCLEAN(1)
3
1mNAME
0mfbclean \- flip isolated pixels in a 1bit image
1mSYNOPSIS
0mfbclean [ -b<cleaner> -t<threshhold> -n<nbr> ] [ -<type> ] < bitmap > bitmap
1mDESCRIPTION
0mFlips isolated pixels (this can be used to clean up
"snow" in some halftoned images. Can also convert a
grayscale image to bitmap by theshholding before the
cleaning is done.
1mOPTIONS
0m-1mb 0m3mcleaner 0moption, specifies the minimum number of "nearby"
like pixels to remain the same color.
-1mn 0m3mneighbors, 0mthe size of the neighborhood. To be "nearby"
means to be located in an NxN square around the target
pixel.
-1mt 0m3mthreshhold 0mcommand, used to halftone the image before
cleaning. The default is no theshholding.
-1mB 0m3mface 0mformat, as used by Bennet Yee's 3mface 0mprogram at CMU.
-1mF 0m3mFBM, 0mformat (by default, the default). You are
guaranteed not to lose information by specifying FBM as the
default.
-1mG 0m3mGIF, 0mCompuserve GIF format.
-1mI 0m3mIFF 0mformat, interleaved bitmaps (ILBM), used by Amigas.
-1mP 0m3mPBM, 0mJef Poskanzer's bitmap format.
-1mS 0m3msun, 0mSun rasterfiles (not run length encoded).
1mEXAMPLE
0mTo take a bitmap and clean up pixels with fewer than 2
like neighbors in the surrounding 5x5 square, outputing s
Sun rasterfile:
% fbclean -S -b2 -n5 < foo.1bit > bar.1bit
To do the same thing to a grayscale file (threshholding
first with 128):
% fbclean -S -b2 -n5 -t128 < foo.1bit > bar.1bit
1mSEE ALSO
0mfbm(1) for general discussion, pbm(1) for PBM routines.
-1-
FBCLEAN(1) 25-Jun-90 FBCLEAN(1)
1mBUGS
0mNone known.
1mHISTORY
0mCopyright (C) 1989,1990 by Gary Sherwin & Michael Mauldin.
Permission is granted to use this file in whole or in part
for any purpose, educational, recreational or commercial,
provided that this copyright notice is retained unchanged.
This software is available to all free of charge by
anonymous FTP and in the UUNET archives.
25-Jun-90 Michael Mauldin at Carnegie Mellon University
Release 1.0 mlmcs.cmu.edu
07-Mar-89 Michael L. Mauldin at Carnegie Mellon University
Beta release (version 0.9) mlmcs.cmu.edu
-2-